package hedron;

import hedron.view.CalendarView;
import hedron.view.MenuView;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		layout.addView(MenuView.ID, IPageLayout.LEFT, 0.30f, IPageLayout.ID_EDITOR_AREA);
		layout.addView(CalendarView.ID, IPageLayout.BOTTOM, 0.60f, MenuView.ID);
		layout.getViewLayout(MenuView.ID).setCloseable(false);
		layout.getViewLayout(CalendarView.ID).setCloseable(true);
	}
}
